<template>
    <div class="login">
        <div class="container">
            <div class="login-title">账号验证</div>
            <div class="login-input"><input type="text" placeholder="请输入您的账号"></div>
            <div class="login-btn"><button>确认</button></div>
        </div>
        <div class="hint">
            账号错误
        </div>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                username:""
            }
        },
        created() {
        },
    }
</script>

<style lang="scss" scoped>
        .login{
            background: -webkit-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), linear-gradient(to bottom, rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), linear-gradient(
            135deg
            , #670d10 0%,#092756 100%);
            width: 100%;
            height: 100vh;
            position: relative;
            .container{
                position: absolute;
                top: 30%;
                left: 50%;
                transform: translateX(-50%);
                width: 200px;
                .login-title{
                    color: #fff;
                    text-shadow: 0 0 10px rgb(0 0 0 / 30%);
                    letter-spacing: 1px;
                    text-align: center;
                    font-size: 18px;
                    margin-bottom: 10px;
                }
                .login-input{
                   input{
                       box-sizing: border-box;
                        width: 100%;
                        margin-bottom: 10px;
                        background: rgba(0,0,0,0.3);
                        border: none;
                        outline: none;
                        padding: 10px;
                        font-size: 13px;
                        color: #fff;
                        text-shadow: 1px 1px 1px rgb(0 0 0 / 30%);
                        border: 1px solid rgba(0,0,0,0.3);
                        border-radius: 4px;
                        box-shadow: inset 0 -5px 45px rgb(100 100 100 / 20%), 0 1px 1px rgb(255 255 255 / 20%);
                   }
                }
                .login-btn{
                    button{
                            width: 100%;
                            cursor: pointer;
                            padding: 9px 14px;
                            font-size: 15px;
                            color: #ffffff;
                            line-height: normal;
                            background-color: #4a77d4;
                            background-image: linear-gradient(top, #6eb6de, #4a77d4);
                            background-repeat: repeat-x;
                            filter: progid:dximagetransform.microsoft.gradient(startColorstr=#6eb6de, endColorstr=#4a77d4, GradientType=0);
                            border: 1px solid #3762bc;
                            text-shadow: 1px 1px 1px rgb(0 0 0 / 40%);
                            box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 50%);
                    }
                }
            }
            .hint{
                position: absolute;
                top: 5px;
                left: 50%;
                transform: translateX(-50%);
                width: 140px;
                line-height: 40px;
                text-align: center;
                background-color: rgb(190, 29, 29);
                color: #fff;
                font-size: 14px;
                opacity: 0;
            }
        }
</style>